<div class="block block-content mb0">
    <p><font>页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b></font></p>
    <present name="message">
        <div class="alert alert-block alert-success fade in" style="margin-bottom: 0;">
            <a href="#" data-dismiss="alert" class="close">×</a>
            <h4 class="alert-heading">操作成功 ：）</h4>
            <p><br /><?php echo($message); ?></p>
        </div>
        <else/>
        <div class="alert alert-block alert-error fade in" style="margin-bottom: 0;">
            <a href="#" data-dismiss="alert" class="close">×</a>
            <h4 class="alert-heading">出错了 ！</h4>
            <p style="font-size: 14px;"><br /><?php echo($error); ?></p>

        </div>
    </present>
    

</div>


<script type="text/javascript">
    (function(){
        var wait = document.getElementById('wait'),href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time == 0) {
                location.href = href;
                clearInterval(interval);
            };
        }, 1000);
    })();
</script>